package c.c.a;

import java.util.HashMap;
import java.util.Map;
import org.json.JSONObject;

public final class e1 {
    public final String a;
    public final String b;
    public final Boolean c;
    public final Long d;
    public final Long e;
    public final Integer f;
    public final Long g;

    public e1(String str, String str2, Boolean bool, Long l, Long l2, Integer num, Long l3) {
        this.a = str;
        this.b = str2;
        this.c = bool;
        this.d = l;
        this.e = l2;
        this.f = num;
        this.g = l3;
    }

    public Map<String, String> a() {
        HashMap hashMap = new HashMap();
        c1.c(hashMap, "id", this.a);
        c1.c(hashMap, "req_id", this.b);
        c1.c(hashMap, "is_track_limited", String.valueOf(this.c));
        c1.c(hashMap, "take_ms", String.valueOf(this.d));
        c1.c(hashMap, "time", String.valueOf(this.e));
        c1.c(hashMap, "query_times", String.valueOf(this.f));
        c1.c(hashMap, "hw_id_version_code", String.valueOf(this.g));
        return hashMap;
    }

    public JSONObject b() {
        JSONObject jSONObject = new JSONObject();
        c1.d(jSONObject, "id", this.a);
        c1.d(jSONObject, "req_id", this.b);
        c1.d(jSONObject, "is_track_limited", this.c);
        c1.d(jSONObject, "take_ms", this.d);
        c1.d(jSONObject, "time", this.e);
        c1.d(jSONObject, "query_times", this.f);
        c1.d(jSONObject, "hw_id_version_code", this.g);
        return jSONObject;
    }

    public String toString() {
        return b().toString();
    }
}
